package com.examination.system.administrator.service;

import com.examination.framework.model.response.QueryResponseResult;
import com.examination.framework.model.response.ResponseResult;
import com.examination.system.administration.Department;
import com.examination.system.administration.response.AddAdministrationResult;
import com.examination.system.administration.response.DeleteAdministrationResult;

/**
 * @author 寇淇芮
 * @Date 2019/9/14 9:49
 */
public interface DepartmentService {
    AddAdministrationResult addDepartment(Department department);

    DeleteAdministrationResult deleteDepartmentById(String departmentId, String newDepartmentName,Department department);

    ResponseResult editDepartmentById(String departmentId, Department department);

    QueryResponseResult findDepartmentList(Integer page, Integer size, Department department);

    QueryResponseResult findDepartmentList();
}
